# Contributor: Jiri Kastner <cz172638@gmail.com>
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-zc.lockfile
pkgver=2.0
pkgrel=1
pkgdesc="Basic inter-process locks"
url="https://github.com/zopefoundation/zc.lockfile"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-zope-testing"
source="https://files.pythonhosted.org/packages/source/z/zc.lockfile/zc.lockfile-$pkgver.tar.gz"
builddir="$srcdir/zc.lockfile-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2586bafacb12540383695a24cb01fd284e61bfa3fcb16431ed0e91278e547c68983363fb69c1ffbd54f7c22db43300ba018ccd2fb3e21666c98860415b7a3c3b  zc.lockfile-2.0.tar.gz"
